{template 'common/header'}
<style>
	html {
		background: #FFF;
		color: #000;
		font-size: 14px;
	}

	*{
		margin: 0;
		padding: 0;
		text-decoration: none;
		list-style: none;
	}
	p,ul,li{
		margin:0;
		padding:0;
	}
	div{
		box-sizing: border-box;
	}
	.act-list{
		width:100%;
	}
	.act-intro{
		overflow: hidden;
		width:100%;
		margin:10px;
		border-bottom:1px solid #ddd;
		padding-bottom:5px;
	}
	.act-img{
		float: left;
		width: 30%;
		margin-right: 2%;
	}
	.act-img img{
		width:100%;
	}
	.act-info{
		float:left;
		width:60%;
	}
	.act-title{
		line-height: 1.6em;
		font-size: 1.1em;
		width:100%;
		height: 50px;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;

	}
	.act-title a{
		color:#020202
	}
	.act-time{
		line-height: 2em;
		font-size: 0.9em;
		color: #8c8c8c;
	}

</style>
<div class="act-list">
	<ul>
		<li>

			{data module="site" func="site_article" cid="$cid" assign="result" return="true"}
			{loop $result['list'] $row}


			<div class="act-intro">
				<div class="act-img">
					<img src="{$row['thumb']}" alt="">
				</div>
				<div class="act-info">
					<p class="act-title"><a href="{$row['linkurl']}">{php echo cutstr($row['title'],22,1);}</a></p>
					<p class="act-time">2017-12-04</p>
				</div>
			</div>

			{/loop}


			<div class="pager-position">{$result['pager']}</div>

		</li>
	</ul>
</div>

<!--
<div class="head">
	<a href="javascript:history.go(-1);" class="bn pull-left"><i class="fa fa-reply"></i></a>
	<span class="title">{$title}</span>
	<a href="javascript:;" id="category_show" class="bn pull-right"><i class="fa fa-reorder"></i></a>
	<ul class="list-unstyled order hide">
		<li class="fa fa-caret-up"></li>
		{data module="site" func="site_category"}
		<li>
			<a href="{$row['linkurl']}">
				{$row['name']}
			</a>
		</li>
		{/data}
	</ul>
</div>

<div class="category">
	{data module="site" func="site_category" parentid="$cid"}
	<a href="{$row['linkurl']}">{$row['name']}</a>
	{/data}
</div>
<ul class="list list-unstyled">
	{data module="site" func="site_article" cid="$cid" assign="result" return="true"}
	{loop $result['list'] $row}
	<li>
		<a href="{$row['linkurl']}">
			<div class="title">{php echo cutstr($row['title'],40,1);}</div>
			<div class="createtime">{php echo date('Y-m-d H:i:s', $row['createtime'])}</div>
		</a>
	</li>
	{/loop}
</ul>
<div class="pager-position">{$result['pager']}</div>
!-->
{template 'common/footer'}